package com.dmooo.yxmmerchant.view.contract;

import com.common.mvpbase.BaseView;
import com.common.net.listener.HttpOnNextListener;
import com.dmooo.yxmmerchant.domain.MerchantInfoBean;

import java.io.File;

public class MainContract {
    public interface MainView extends BaseView{
        void showMerchantInfoBean(MerchantInfoBean merchantInfoBean);
        void editMerchantInfoBeanSuccess();
        void editMerchantAvatarSuccess();
    }
    public interface MainMdl{
        void getMerchantInfo(String token, HttpOnNextListener listener);
        void editMerchantInfoBean(String token,MerchantInfoBean merchantInfoBean,HttpOnNextListener listener);
        void editMerchantAvatar(String token,File file,HttpOnNextListener listener);
    }
    public interface MainPtr{
        void getMerchantInfo(String token);
        void editMerchantInfoBean(String token,MerchantInfoBean merchantInfoBean);
        void editMerchantAvatar(String token,File file);
    }
}
